				<?php $landingpagefeaturedproduct = new WP_Query('post_type=product&meta_key=_sku&meta_value='.$landingpagefeaturedproductsku.'&posts_per_page=1');  ?>
					<?php if ($landingpagefeaturedproduct->have_posts()) { ?>
						<?php while ($landingpagefeaturedproduct->have_posts()) : $landingpagefeaturedproduct->the_post(); ?>
                        
                        	<?php
								$featuredproductsku = get_post_custom($post->ID);
								$fprodsku = $featuredproductsku['_sku'];
								foreach ( $fprodsku as $fprodsku );
							
							?>
                        	
                            <a href="<?php the_permalink(); ?>">
                                <?php if (get_field('productFeaturedImage') != '') { 
                                    $imageurl = get_field('productFeaturedImage');
                                ?>
                                    <img src="<?php echo $imageurl; ?>" alt="<?php the_title(); ?>" />
                                <?php } else { ?>
                                    <?php the_post_thumbnail(); ?>
                                <?php } ?>
                            </a>
                            
							<?php 
                                                            $fprodsavings = (($fprodlistprice - $fprodprice) / $fprodlistprice);
                                                            $showfprodsavings = $fprodsavings * 100;
							?>
                            
                            <h4 style="font-size:20px;line-height:20px;margin-bottom:10px;margin-top:10px;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
                            
                            <?php include '/home/silicons/wp-content/themes/woostore/woocommerce/single-product/price.php'; ?>
                            
                            <p><a class="button" href="<?php the_permalink(); ?>">View Details</a></p>
								
                                
					<?php endwhile ?>
				<?php } ?>
				<?php wp_reset_query() ?>